mjml-list
mj-list
enables you to create unordered lists and enables you to wrap li
s tag.
<mjml>
<mj-body>
<mj-container>
<mj-section>
<mj-column>
<mj-list>
<li>Go to the store</li>
<li>sleep</li>
<li>eat</li>
<li>sleep again</li>
</mj-list>
</mj-column>
</mj-section>
</mj-container>
</mj-body>
</mjml>
attribute | unit | description | default value |
---|
color | color | text color | #000000 |
font-family | string | font name | Ubuntu, Helvetica, Arial, sans-serif |
font-size | px | text size | 13px |
line-height | percent/px | space between lines | 22px |
padding | px | generate space around content | 10px 25px |
padding-top | px | top offset | n/a |
padding-bottom | px | bottom offset | n/a |
padding-left | px | left offset | n/a |
padding-right | px | right offset | n/a |